<!DOCTYPE html>
<html lang="en">
  <head>
    <meta charset="utf-8">
    <title>课程中心主页</title>
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <meta name="description" content="">
    <meta name="author" content="">
  </head>
  <body>
	<layout name="Auth:header" />
    <div class="container">
      <div class="hero-unit">
        <h1>上海应用技术学院课程中心</h1>
        <p>Shanghai Institute of Technology Course Center</p>
        <p>欢迎您的到来，您是本站第{$pv}位访问者！</p>
         <p class="pull-right"><a class="btn btn-info" href="__APP__/auth/logon?url=__SELF__">登陆 &raquo;</a></p>
       	</div>
      <div class="row">
        <div class="span5">
          <h2>课程风采</h2>
           	<!--幻灯片-->
            <script>
            $('.carousel').carousel('cycle')({interval: 2000})
			</script>
            <div id="myCarousel" class="carousel slide">
            <div class="carousel-inner">
              <div class="item active">
                <img src="__IMAGE__/SIT-1.jpg" alt="">
                <div class="carousel-caption">
                  <h4>First Thumbnail label</h4>
                  <p></p>
                </div>
              </div>
              <div class="item">
                <img src="__IMAGE__/SIT-2.jpg" alt="">
                <div class="carousel-caption">
                  <h4>Second Thumbnail label</h4>
                  <p></p>
                </div>
              </div>
              <div class="item">
                <img src="__IMAGE__/SIT-3.jpg" alt="">
                <div class="carousel-caption">
                  <h4>Third Thumbnail label</h4>
                  <p></p>
                </div>
              </div>
              <div class="item">
                <img src="__IMAGE__/SIT-4.jpg" alt="">
                <div class="carousel-caption">
                  <h4>Third Thumbnail label</h4>
                  <p></p>
                </div>
              </div>
              <div class="item">
                <img src="__IMAGE__/SIT-5.jpg" alt="">
                <div class="carousel-caption">
                  <h4>Third Thumbnail label</h4>
                  <p></p>
                </div>
              </div>
              <div class="item">
                <img src="__IMAGE__/SIT-6.jpg" alt="">
                <div class="carousel-caption">
                  <h4>Third Thumbnail label</h4>
                  <p></p>
                </div>
              </div>
              <div class="item">
                <img src="__IMAGE__/SIT-7.jpg" alt="">
                <div class="carousel-caption">
                  <h4>Third Thumbnail label</h4>
                  <p></p>
                </div>
              </div>
              <div class="item">
                <img src="__IMAGE__/SIT-8.jpg" alt="">
                <div class="carousel-caption">
                  <h4>Third Thumbnail label</h4>
                  <p></p>
                </div>
              </div>
            </div>
            <a class="left carousel-control" href="#myCarousel" data-slide="prev">‹</a>
            <a class="right carousel-control" href="#myCarousel" data-slide="next">›</a>
          </div>
            <!---->
          
        </div>
        <div class="span7">
           <div class="tabbable" style="margin-bottom: 18px;">
           <ul class="nav nav-tabs">
              <li class="active"><a href="#jpcouse" data-toggle="tab">精品课程访问量排行</a></li>
              <li><a href="#3" data-toggle="tab">所有课程访问量排行</a></li>
              <li><a href="#teacher" data-toggle="tab">任课教师</a></li>
              
              <li><a href="#4" data-toggle="tab">所有院系</a></li>
            </ul>
             
            <div class="tab-content">
              <div class="tab-pane active" id="jpcouse">
              		<table width="100%" class="table  table-condensed">
                	<thead>
                    	<tr>
                            <th width="70%">课程名称</th>
                            <th width="30%">访问量</th>
                        </tr>
                    </thead>
                    <tbody>
                    	<volist name='alist' id='vo'>
                            <tr>
                            	<td>{$vo.name}</td>
                                <td>{$vo.pv}</td>
                            </tr>
                        </volist>
                    </tbody>
                </table>
                <p class="pull-right">
           		<a href='__APP__/course/coursedetail_jp' class="btn">more &raquo;</a>
           		</p>
              </div>
              <div class="tab-pane" id="teacher">
              	<!-- <a href='__APP__/course/allteacher'>任课教师</a> -->
              	<table width="100%" class="table  table-condensed">
                    <tbody>
                    	<volist name='clist' mod='16' id='vo'> 
                        	
                            	<span style="margin-left:20px;"><a href='__APP__/course/custom1/id/{$vo.id}' width="10%">{$vo.name}({$vo.people})</a></span>
                                <eq name="mod" value="15"><br></eq>                           		
                        </volist>
                    </tbody>
                </table>
              </div>
              <div class="tab-pane" id="3">
              	<table width="100%" class="table  table-condensed">
                	<thead>
                    	<tr>
                            <th width="70%">课程名称</th>
                            <th width="30%">访问量</th>
                        </tr>
                    </thead>
                    <tbody>
                    	<volist name='blist' id='vo'>
                            <tr>
                            	<td>{$vo.name}</td>
                                <td>{$vo.pv}</td>
                            </tr>
                        </volist>
                    </tbody>
                </table>
                <p class="pull-right">
           		<a href='__APP__/course/coursedetail_all' class="btn">more &raquo;</a>
           		</p>
              </div>
              <div class="tab-pane" id="4">
              	<table width="100%" class="table  table-condensed">
                    <tbody>       	 
                        <volist name='clist' mod="16" id='vo'>
                            <span style="margin-left:20px;"><a href='__APP__/course/custom1/id/{$vo.id}' style="width:80px;" >{$vo.name}</a></span>                          
                            <eq name="mod" value="15"><br></eq>
                          </volist>                      
                    </tbody>
                </table>
              </div>
            </div>          
       </div>
	</div>
      <hr>

    </div> <!-- /container -->
    <hr>
    	
		</div>
	</div>
   <layout name="Auth:footer" />
</body>
</html>